home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ Services Timeout.xpl
< prev
next >
Wrap
Text File
|
2001-04-13
|
1KB
|
50 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="2"
"COUNT"="1"
"UIPATH 1"="Startup/Shutdown\Shutdown\Windows NT/2K/XP\20) Services Shutdown"
"NAME"="Service Timeout"
"VERSION"="1.21"
"OSVERSION"="010101"
"LANGUAGE"="VBScript"
"TEXT 1"="Timeout (sec)"
"DESCRIPTION 1"="If this computer is shut down, Windows allows all services a specified time to end themselves."
"DESCRIPTION 2"="After this time is reached any still running services will be shut down by Windows."
"DESCRIPTION 3"="The default timeout is 20 seconds."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sP="HKLM\System\CurrentControlSet\Control\WaitToKillServiceTimeout"
Sub Plugin_Initialize
i=RegReadValue(sp)
if IsEmpty(i)=false then
if IsNumeric(i) then
i=i/1000
SetUIElement 1,i
end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
i=GetUIElement(1)
if len(i)>0 then
i=i*1000
Call RegWriteValue(sp,i,1)
end if
End Sub
Sub Plugin_Terminate
End Sub